import http from './http'


const creatComment = (params: any) => {
	return http.myRequest({
		url: '/comment/create',
		method: 'post',
		data: params
	})
}
const getCommentByMovieId = (params :any)=>{
	return http.myRequest({
		url:'/comment/movieId',
		method:'post',
		data:params
	})
}


export default {
	creatComment,
	getCommentByMovieId
}